<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/taglibs.jsp" %>

<h1>
	Confirm
</h1>
<a href="${flowExecutionUrl}&_eventId=back"><fmt:message key="button.back" /></a>
<br />
<br />

<form:form modelAttribute="user" commandName="user" action="${flowExecutionUrl}" method="post">
<table collspadding="0px" border="0px" width="800px">
	<spring:hasBindErrors name="user">
	<tr>
		<td colspan="2">
			<div class="error">Error happened!</div>
		</td>
	</tr>
	</spring:hasBindErrors>
</table>
	
<table  collspadding="0px" border="0px" width="800px">
	<tr>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="user.form.username" />:
		</td>
		<td width="200px">
			<c:out value="${user.username}"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="user.form.firstname" />:
		</td>
		<td width="200px">
			<c:out value="${user.firstName}"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="user.form.surname" />:
		</td>
		<td width="200px">
			<c:out value="${user.surname}"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
		<tr>
		<td width="200px">
			<fmt:message key="user.form.email" />:
		</td>
		<td width="200px">
			<c:out value="${user.email}"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
		<tr>
		<td width="200px">
			<fmt:message key="user.form.telephone" />:
		</td>
		<td width="200px">
			<c:out value="${user.telephone}"/>
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>	
	<tr>
		<td colspan="4" class="buttonBar">
			<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/>
			<input type="submit" class="button" name="_eventId_cancel" value="Cancel"/>
			<input type="submit" class="button" name="_eventId_back" value="Back"/>
			<input type="submit" class="button" name="_eventId_submit" value="Submit"/>
		</td>
	</tr>
</table>	
</form:form>
